*** Settings ***
Library           Selenium2Library
Library           Collections
Library           RequestsLibrary

*** Variables ***
${Home URL}       http://127.0.0.1:8000

*** Test Cases ***
Helloworld
	Open Browser    ${Home URL}/students    ff
	Create Session    mytest    ${Home URL}
	${resp}=    Get Request    mytest    /students
	Should Contain    ${resp.json()[0]['fields']['name']}    pugang
	sleep    2
	Close Browser
